package com.eorchis.module.remind.ui.commond;

import java.io.Serializable;

import com.eorchis.core.basedao.entity.IBaseEntity;
import com.eorchis.core.ui.commond.ICommond;
import com.eorchis.module.basedata.domain.BaseData;
import com.eorchis.module.remind.domain.Remind;
import com.eorchis.module.reminduserlink.domain.RemindUserLink;

import org.hibernate.validator.constraints.NotBlank;
import com.eorchis.core.ui.commond.ICommonField;
import java.util.Date;
import java.util.Set;


/**
 * Title: RemindValidCommond<br>
 * Description: 提醒表ValidCommond<br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @author RongSL
 * @createDate 2016-05-06
 * @version $Revision$
 */
public class RemindValidCommond implements ICommond,ICommonField {
	
	private Remind remind;
	private String remindTypeStr;
	private String remindCategoryStr;
	private String searchRemindUserId;
	private String createDateStr;
	public String getRemindTypeStr() {
		return remindTypeStr;
	}

	public void setRemindTypeStr(String remindTypeStr) {
		this.remindTypeStr = remindTypeStr;
	}

	public String getRemindCategoryStr() {
		return remindCategoryStr;
	}

	public void setRemindCategoryStr(String remindCategoryStr) {
		this.remindCategoryStr = remindCategoryStr;
	}

	public RemindValidCommond(){
		remind = new Remind();
	}
	
	public RemindValidCommond(Remind remind){
		this.remind = remind;
	}

	public Serializable getEntityID() {
		return remind.getRemindId();
	}

	@Override
	public IBaseEntity toEntity() {
		return remind;
	}

	/**
	 * 获取ID
	 */	
	@NotBlank
	public String getRemindId() {
		return remind.getRemindId();
	}
	/**
	 * 设置ID
	 */		
	public void setRemindId(String remindId) {
		remind.setRemindId(remindId);
	}
	/**
	 * 获取提醒状态
	 */	
	public Integer getRemindState() {
		return remind.getRemindState();
	}
	/**
	 * 设置提醒状态
	 */		
	public void setRemindState(Integer remindState) {
		remind.setRemindState(remindState);
	}
	/**
	 * 获取提醒内容
	 */	
	public String getRemindValue() {
		return remind.getRemindValue();
	}
	/**
	 * 设置提醒内容
	 */		
	public void setRemindValue(String remindValue) {
		remind.setRemindValue(remindValue);
	}
	/**
	 * 获取提醒分类
	 */	
	public BaseData getRemindCategory() {
		return remind.getRemindCategory();
	}
	/**
	 * 设置提醒分类
	 */		
	public void setRemindCategory(BaseData remindCategory) {
		remind.setRemindCategory(remindCategory);
	}
	
	/**
	 * 获取提醒分类
	 */	
	public BaseData getRemindType() {
		return remind.getRemindType();
	}
	/**
	 * 设置提醒分类
	 */		
	public void setRemindType(BaseData remindType) {
		remind.setRemindType(remindType);
	}
	
	public Date getCreateDate() {
		return remind.getCreateDate();
	}

	public void setCreateDate(Date createDate) {
		remind.setCreateDate(createDate);
	}
	
	public Set<RemindUserLink> getRemindUserList() {
		return remind.getRemindUserList();
	}
	public void setRemindUserList(Set<RemindUserLink> remindUserLink) {
		remind.setRemindUserList(remindUserLink);
	}

	@Override
	public Integer getActiveState() {
		return remind.getActiveState();
	}

	@Override
	public void setActiveState(Integer activeState) {
		remind.setActiveState(activeState);
	}

	public String getSearchRemindUserId() {
		return searchRemindUserId;
	}

	public void setSearchRemindUserId(String searchRemindUserId) {
		this.searchRemindUserId = searchRemindUserId;
	}

	public String getCreateDateStr() {
		return createDateStr;
	}

	public void setCreateDateStr(String createDateStr) {
		this.createDateStr = createDateStr;
	}
}
